package com.fcx.workai.loginmodule.api.request;/**
 * Created by hxh on 2017/8/16.
 */

import com.hxh.component.business.utils.Constant;

/**
 * 创建者：hxh
 * 时间：  2017/8/16
 * 描述：
 */
public class Request_RefreshToken {
    public Request_RefreshToken(String refresh_token,String tenId) {
        this.refresh_token = refresh_token;
        this.scope = Constant.LOGINSCOPE_END_USER + ",tenant:"+tenId;
    }

    /**
     * grant_type : refresh_token
     * refresh_token : xxxxx
     * scope : global_access:tenant_admin
     */

    private String grant_type="refresh_token";
    private String refresh_token;
    private String scope = Constant.LOGINSCOPE_END_USER;

    public String getGrantype() {
        return grant_type;
    }

    public void setGrantype(String grant_type) {
        this.grant_type = grant_type;
    }

    public String getRefresh_token() {
        return refresh_token;
    }

    public void setRefresh_token(String refresh_token) {
        this.refresh_token = refresh_token;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }
}
